<?php
$segment_1=$this->uri->segment(1);
$segment_1=$segment_1?$segment_1:'home';
$segment_2=$this->uri->segment(2);
$segment_2=$segment_2?$segment_2:'index';
?>
<html>
<head>
<meta charset="UTF-8">
<title><?=$web_title?></title>
<?=set_base()?>
<?=load_static('css/global.css','css/home.css')?>
<?=load_static('js/jquery-1.10.2.min.js')?>
</head>
<body>
<?php include($segment_1.'/'.$segment_2.'.php');?>
</body>
</html>